package com.taotao.job.rpc.core.meta;

import lombok.AllArgsConstructor;
import lombok.EqualsAndHashCode;
import lombok.Getter;

import java.io.Serializable;

/**
 * 接口的元数据
 *
 * @author fanbeibei
 * @date 2020/10/31 12:26
 */
@Getter
@AllArgsConstructor
@EqualsAndHashCode
public class IfaceMeta implements Serializable {
    /**
     * 接口名称
     */
    protected String ifaceName;
    /**
     * 方法名称
     */
    protected String methodName;

    @Override
    public String toString() {
        return "{" +
                " ifaceName=\"" + ifaceName + '\"' +
                ", methodName=\"" + methodName + '\"' +
                '}';
    }
}
